package cn.wolfcode.domain;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class Employee {
    private Long id;
    private String username;
    private String name;
    private String password;
    private String email;
    private Integer age;
    private boolean admin;
//    private Long dept_id;
    private Department dept;
    public String toJson(){
        return JSON.toJSONString(this);
    }



}